package com.heima.service;

import com.heima.common.PageResult;
import com.heima.pojo.Partner;
import com.heima.pojo.dto.PagePartnerDto;
import com.heima.pojo.dto.PartnerDTO;
import com.heima.pojo.vo.PartnerVo;

public interface PartnerService {
    Boolean savePartner(PartnerDTO partnerDTO);

    PageResult<Partner> searchPartner(PagePartnerDto pagePartnerDto);

    PartnerVo getPartner(Long id);

    Boolean updatePartner(PartnerDTO partnerDTO);

    Boolean deletePartner(Integer id);
}
